package com.edu.service;

import com.edu.bean.Book;

import java.util.List;


public interface BookService {
    List<Book> getAllBook();
    int deleteBookById(int bookId);
    int getBookCount();
    List<Book> getBookByPage(int pageNum, int pageSize);

    int updateBookById(Book book);

    int getBookCountByBook(Book book);

    List<Book> getBookByPageAndBook(int page, int pageSize, Book book);
}
